﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TrainStation.TrainModules
{
    public class StateChangedEventArgs : EventArgs
    {
        public TrainState PreviousState { get; set; }
        public TrainState CurrentState { get; set; }
        public StateChangedEventArgs(TrainState previousState, TrainState currentState) : base()
        {
            this.PreviousState = previousState;
            this.CurrentState = currentState;
        }
    }
}
